package basics.passbyvalue;

public class Animal {
	
	private String animal;
	
	public Animal(String a)
	{
		animal=a;
	}
	
	public String getAnimal() {
		return animal;
	}

	public void setAnimal(String animal) {
		this.animal = animal;
	}
	
	public String toString()
	{
		return "The animal is: " + this.getAnimal();
	}
	
}
